import vuex from 'vuex'
import Vue from 'vue'
Vue.use(vuex)
export default new vuex.Store({
  state: {
    num: 100
  },
  mutations: {
    setNum (state, newNum) {
      state.num = newNum
    }
  }
})
